package com.demo.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.demo.utils.model.BaseEntityPlus;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 充值明细表
 * </p>
 *
 * @author wu
 * @since 2025-06-20 14:04:44
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("do_pay")
@Schema(name = "Pay", description = "充值明细表")
public class Pay extends BaseEntityPlus {

    private static final long serialVersionUID = 1L;

    @Schema(description = "充值ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "充值姓名")
    private String name;

    @Schema(description = "充值渠道")
    private String qudao;

    @Schema(description = "充值金额")
    private Integer money;

    @Schema(description = "充值成功 0 = 成功， 1 = 失败")
    private Integer status;
}
